<template>
    <div class="content">
        <div class="top">
            <div class="top-left">
                <i class="iconfont icon-gengduo"></i>
                <span style="user-select: none;">快速导航</span>
            </div>
            <div class="right">
                <!-- <div class="iconfont icon-24gf-ellipsisVertical"></div> -->
            </div>

        </div>
        <div class="mid">
            <div class="box" @click="goNothing">
                <div class="iconfont icon-menjin"></div>
                <div class="word">智能门禁</div>
            </div>
            <div class="box" @click="goNothing">
                <div class="iconfont icon-tingchechang"></div>
                <div class="word">智慧停车</div>
            </div>
            <div class="box" @click="goNothing">
                <div class="iconfont icon-xiaofangdianti"></div>
                <div class="word">智慧梯控</div>
            </div>
            <div class="box" @click="goNothing">
                <div class="iconfont icon-tongzhi"></div>
                <div class="word">事件管理</div>
            </div>
        </div>
    </div>
</template>

<script>
import router from '@/router';

export default {
    setup () {
        
        const goNothing = () =>{
            console.log(123)
            router.push('/home/estateManagement/nothing')
        }
        return {goNothing}
    }
}
</script>

<style lang="less" scoped>
    .content{
        .top{
            margin-top: 15px;
            margin-left: 15px;
            width: 90%;
            height: 80%;
            display: flex;
            justify-content: space-between;
            .top-left{
                display: flex;
                i{
                    font-size: 19px;
                    margin-right: 10px;
                }
                span{
                    font-size: 14px;
                }
            }
        }
        .mid{
            display: grid;
            grid-template-rows: 70px 70px ;
            grid-template-columns: 110px 110px;
            grid-row-gap:10px;
            grid-column-gap:10px;
            justify-content: center;
            margin-top: 15px;
            .box{
                cursor: pointer;
                display: flex;
                flex-direction: column;
                justify-content:center;
                align-items: center;
                background-color: rgb(230, 244, 254);
                    .iconfont{
                        font-size: 23px;
                    }
                    .word{
                        margin-top: 5px;
                        font-size: 12px;
                        color: rgb(172, 172, 172)
                    }
            }
        }
    }
</style>